package com.googlecode.continuity.plugin.project.server.validation;

import org.springframework.validation.Errors;
import org.springframework.validation.Validator;
import com.googlecode.continuity.plugin.project.client.Milestone;
import com.googlecode.continuity.plugin.project.client.Project;

/**
 * ProjectValidator
 *
 * @author Peter Schmitt <aragos@aragos.de>
 */
public class MilestoneValidator implements Validator {
  public boolean supports(Class aClass) {
    return aClass == Milestone.class;
  }

  public void validate(Object o, Errors errors) {
    Milestone milestone = (Milestone) o;

    // todo: fill
  }
}